describe('practice-3-9', function () {

    it("求100以内的勾股数", function () {
        var arr_pythagorean_triple = get_pythagorean_triple();
        for(var i = 0; i < arr_pythagorean_triple.length; i ++)
        {
            var pythagorean = arr_pythagorean_triple[i];
            expect(Math.pow(pythagorean.c,2)).toBe(Math.pow(pythagorean.a,2)+Math.pow(pythagorean.b,2));
        }
    });

});
